const mongoose = require('mongoose');

const AMZSellerAccountSchema = new mongoose.Schema({
  _id: {type: mongoose.Schema.Types.ObjectId, required: true},
  accountName: {type: String, required: true},
  region_id: {type: mongoose.Schema.Types.ObjectId, required: false},
  AWSAccessKeyId: {type: String, required: false},
  MWSAuthToken: {type: String, required: false},
  sellerId: {type: String, required: false}
}, {collection: 'amzSellerAccount', timestamps: true});

mongoose.model('AMZSellerAccountSchema', AMZSellerAccountSchema, 'amzSellerAccount');
